package com.taomeishu.mailcrazy;

import java.io.Serializable;

public class Mail implements Serializable {
	
	private static final long serialVersionUID = -355508436894409620L;

	private String username;
	
	private String domainName;

	public Mail() {
		super();
	}

	public Mail(String username, String domainName) {
		super();
		this.username = username;
		this.domainName = domainName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	@Override
	public String toString() {
		return username + "@" + domainName;
	}

}
